home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2006 May
/
PCWMAY06.iso
/
Software
/
Freeware
/
First Page 2006 3.00
/
fp2006-final-3.00-setup.exe
/
{app}
/
Iscripts
/
Links
/
wheel-links.izs
< prev
Wrap
Text File
|
2005-08-07
|
4KB
|
114 lines
<!NOWIZARD>
<!TITLE>Wheel of links
<!/TITLE>
<!DESCRIPTION>We are constantly thinking up of fun ways for your surfers to navigate the WWW from your site...that's why we created this "wheel of links" script. Take the wheel for a spin, and see where you end up!
<!/DESCRIPTION>
<!CATEGORY>links<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<script>
var count=0
function dothis(){
setTimeout("document.wheel.wheel2.selectedIndex =1000",100)
setTimeout("document.wheel.wheel2.selectedIndex =count",200)
setTimeout("document.wheel.wheel2.selectedIndex =1000",300)
setTimeout("document.wheel.wheel2.selectedIndex =count",400)
setTimeout("document.wheel.wheel2.selectedIndex =1000",500)
setTimeout("document.wheel.wheel2.selectedIndex =count",600)
setTimeout("window.location=document.wheel.wheel2.options[document.wheel.wheel2.selectedIndex].value",800)
}
function animate(){
var countfinal=Math.round(Math.random()*(document.wheel.wheel2.length-1))
document.wheel.wheel2.selectedIndex =count
if (count==countfinal){
dothis()
return
}
if (count<document.wheel.wheel2.length)
count++
else
count=0
setTimeout("animate()",50)
}
</script>
<form method="POST" name="wheel">
<div align="center"><center><p><select name="wheel2" size="8">
<option value="http://dynamicdrive.com">Dynamic Drive</option>
<option value="http://www.cnn.com">CNN</option>
<option value="http://www.news.com">News.com</option>
<option value="http://www.techweb.com">Tech Web</option>
<option value="http://www.freewarejava.com">Freewarejava.com</option>
<option value="http://www.virtualis.com/vr/gchiang">Virtualis Web Hosting</option>
<option value="http://www.geocities.com">Geocities</option>
<option value="http://www.abcnews.com">ABCnews.com</option>
</select></p>
</center></div><div align="center"><center><p><input type="button" value="Spin wheel!"
name="B1" onClick="animate()"></p>
</center></div>
</form>
<!-- END OF SCRIPT -->
<!/SCRIPT>
<!PREVIEW>
<!-- START OF SCRIPT -->
<script>
var count=0
function dothis(){
setTimeout("document.wheel.wheel2.selectedIndex =1000",100)
setTimeout("document.wheel.wheel2.selectedIndex =count",200)
setTimeout("document.wheel.wheel2.selectedIndex =1000",300)
setTimeout("document.wheel.wheel2.selectedIndex =count",400)
setTimeout("document.wheel.wheel2.selectedIndex =1000",500)
setTimeout("document.wheel.wheel2.selectedIndex =count",600)
setTimeout("window.location=document.wheel.wheel2.options[document.wheel.wheel2.selectedIndex].value",800)
}
function animate(){
var countfinal=Math.round(Math.random()*(document.wheel.wheel2.length-1))
document.wheel.wheel2.selectedIndex =count
if (count==countfinal){
dothis()
return
}
if (count<document.wheel.wheel2.length)
count++
else
count=0
setTimeout("animate()",50)
}
</script>
<form method="POST" name="wheel">
<div align="center"><center><p><select name="wheel2" size="8">
<option value="http://dynamicdrive.com">Dynamic Drive</option>
<option value="http://www.cnn.com">CNN</option>
<option value="http://www.news.com">News.com</option>
<option value="http://www.techweb.com">Tech Web</option>
<option value="http://www.freewarejava.com">Freewarejava.com</option>
<option value="http://www.virtualis.com/vr/gchiang">Virtualis Web Hosting</option>
<option value="http://www.geocities.com">Geocities</option>
<option value="http://www.abcnews.com">ABCnews.com</option>
</select></p>
</center></div><div align="center"><center><p><input type="button" value="Spin wheel!"
name="B1" onClick="animate()"></p>
</center></div>
</form>
<!-- END OF SCRIPT -->
<!/PREVIEW>
<!RELATED>NONE<!/RELATED>